<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>个人主页</title>
    <link href="bootstrap-5.2.3-dist/bootstrap-5.2.3-dist/css/bootstrap.css" rel="stylesheet"/>
    <style>
      .main{
        margin: 10px;
        display: flex;
        justify-content: space-around;
        border: 1px solid black;
        padding: 10px;
      }
     .item{
      width: 200px;
      height: 300px;
      border: 1px solid black;
      text-align: center;
     
     }
     .item img{
      width: 200px;
      height: 200px;
     }
     .item p{
      margin: 0;
      font-size: 12px;
      font-family: 楷体;
     }
     .item .price{
      color: red;
     }
     .item:hover{
       transform: translateY(-3px);
       box-shadow: 1px 1px 10px gray;
     }
    
    </style>
  </head>
  <body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark" id="nav">
        <div class="container-fluid">
          <a class="navbar-brand" href="#">首页</a>
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
              <li class="nav-item">
                <a class="nav-link active" aria-current="page" href="#">我的学历</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#">我的家乡</a>
              </li>
              <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                 我的同学
                </a>
                <ul class="dropdown-menu" style="background-color: green;">
                  <li><a class="dropdown-item" href="#" style="color:wheat">马化腾</a></li>
                  <li><a class="dropdown-item" href="#">马云</a></li>
                  <li><hr class="dropdown-divider"></li>
                  <li><a class="dropdown-item" href="#">去我的主页</a></li>
                </ul>
              </li>
              <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                  我的工作经验
                 </a>
                 <ul class="dropdown-menu">
                   <li><a class="dropdown-item" href="#">腾讯公司</a></li>
                   <li><a class="dropdown-item" href="#">阿里巴巴</a></li>
                   <li><hr class="dropdown-divider"></li>
                   <li><a class="dropdown-item" href="#">智游集团</a></li>
                 </ul>
              </li>
            </ul>
            <form class="d-flex" role="search">
              <input class="form-control me-2" type="search" placeholder="13653858701" aria-label="Search">
              <!-- style="样式:样式值进行调整" font-size字体大小 width 宽度 -->
              <button class="btn btn-outline-success" type="submit" style="font-size: 12px;width: 100px;">联系我</button>
            </form>
          </div>
        </div>
      </nav>

      <!-- 轮播图 -->
      <div id="carouselExample" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-inner">
          <div class="carousel-item active" data-bs-interval="1000">
            <img src="image/幻灯片2.webp" class="d-block w-100" alt="...">
          </div>
          <div class="carousel-item" data-bs-interval="1000">
            <img src="image/幻灯片1.jpeg" class="d-block w-100" alt="...">
          </div>
          <div class="carousel-item" data-bs-interval="1000">
            <img src="image/幻灯片4.webp" class="d-block w-100" alt="...">
          </div>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExample" data-bs-slide="prev">
          <span class="carousel-control-prev-icon" aria-hidden="true"></span>
          <span class="visually-hidden">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExample" data-bs-slide="next">
          <span class="carousel-control-next-icon" aria-hidden="true"></span>
          <span class="visually-hidden">Next</span>
        </button>
      </div>

      <!-- 商品列表 -->
      <div class="main">
          <div class="item">
             <img src="/image/1.jpg" alt="">
             <p>奥特曼17</p>
             <p>第三代奥特曼</p>
             <p class="price">129元起</p>
          </div>
          <div class="item">
            <img src="/image/1.jpg" alt="">
            <p>奥特曼17</p>
            <p>第三代奥特曼</p>
            <p class="price">129元起</p>
         </div>
         <div class="item">
          <img src="/image/1.jpg" alt="">
          <p>奥特曼17</p>
          <p>第三代奥特曼</p>
          <p class="price">129元起</p>
       </div>
       <div class="item">
        <img src="/image/1.jpg" alt="">
        <p>奥特曼17</p>
        <p>第三代奥特曼</p>
        <p class="price">129元起</p>
     </div>
     <div class="item">
      <img src="/image/1.jpg" alt="">
      <p>奥特曼17</p>
      <p>第三代奥特曼</p>
      <p class="price">129元起</p>
   </div>
      </div>


</body>
<script src="bootstrap-5.2.3-dist/bootstrap-5.2.3-dist/js/bootstrap.bundle.js"></script>
</html>